package org.bling.star.server.mappers;

import org.bling.star.common.model.StreamMessage;
import org.bling.star.server.connect.node.TalkingStream;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

@Mapper
public interface StreamMessageMappers {
    @Mapping(source = "streamName", target = "streamName")
    StreamMessage toStreamMessage(TalkingStream talkingStream);
}
